home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / ast_comp / sql.txt / Makefile < prev    next >
Encoding:
Makefile  |  1993-07-04  |  510 b   |  34 lines

  1. # Makefile for Data sublanguages
  2. # written 1985 by Leroy Cain
  3. # modified 1989 by Klaus Meyer-Wegener
  4.  
  5. ALL: tpar
  6.  
  7. tpar : tpar.c parser.c y.tab.o
  8.     cc -o tpar tpar.c parser.c y.tab.o -ll
  9.  
  10. y.tab.o: y.tab.c lex.yy.c parser.h gtok.h
  11.     cc -c y.tab.c
  12.  
  13. y.tab.c: dsl.y
  14.     yacc -vd dsl.y
  15.  
  16. lex.yy.c: dsl.l
  17.     lex dsl.l
  18.     ./ed0
  19.  
  20. parser.h: y.tab.h tmprws.h phm
  21.     ./ed1
  22.     sort +2 -3 y.h | ./phm
  23.     ./ed2 `wc y.h`
  24.  
  25. phm: phm.c
  26.     cc -o phm phm.c
  27.  
  28. tf: tf.l
  29.     lex -t tf.l > tf.yy.c
  30.     cc -o tf tf.yy.c
  31.  
  32. test: tf vtest2 tpar
  33.     tf < vtest2 | tpar
  34.